<template>
  <div class="layout">
    <header>
      <div class="navbar">
        <NavBar />
      </div>
    </header>

    <main>
      <Dashboard />
    </main>
  </div>

</template>


<script setup lang="ts">
import NavBar from "~/ components/admin/NavBar.vue";
import Dashboard from "~/ components/admin/Dashboard.vue";
import {Location} from "@element-plus/icons-vue";

definePageMeta({
  layout: 'admin',
  index: 2
})
</script>



<style scoped lang="scss">

header {
  height: 60px;
  position: fixed; /* 固定在顶部 */
  width: 100%; /* 宽度为100% */
  z-index: 1;
}


</style>